package com.qf.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.Date;


/**
 * 预约婚纱表
 */
@Data
@Accessors(chain = true)
public class Subscribe extends BaseEntity {

    @TableId(type = IdType.AUTO)
    private Integer id; // 预约id
    private Integer did; // 设计师id
    private String name; // 预约者姓名
    private String phone; // 预约者手机号码
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date stime; // 预约时间

}
